package com.example.springbootzuoye.entity;

import java.io.Serializable;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;

@Table(name = "emp")
@Data
//@ApiModel(value = "Emp)", description = "")
public class Emp implements Serializable {
    private static final long serialVersionUID = -16661306940285002L;
    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "name")
    //@ApiModelProperty(value = "${column.comment}")
    private String name;
    @Column(name = "age")
    //@ApiModelProperty(value = "${column.comment}")
    private Integer age;
}
